import { Controller,Get, Redirect } from "@nestjs/common";

// @Controller('docs')
@Controller('redirect')
export class NestJSController{
//     @Get('*')
//     getRoute(){
//         return 'Matched docs route'
//     }

@Get('old')
@Redirect('http://demo.nou.neumooc.com/#/base/level',301)
get(){
    return ''

}
@Get('temp')
@Redirect('https://example.com/temp',302)
get1(){
    return ''

}


}
